package org.zpmis.domain.order.service;
import org.zpmis.domain.order.model.Order;
import org.zpmis.common.service.Service;
import org.zpmis.domain.order.vo.OrderCountReceived;
import org.zpmis.domain.order.vo.OrderReceived;

import java.util.List;
import java.util.Map;


/**
 * Created with CodeGenerator
 * Description:
 * @author  Yang
 * Date: 2021-6-2
 * Time: 14:51:37
 */
public interface OrderService extends Service<Order> {

    /**
     * 获取系统订单数量
     * @return
     */
    Long getOrderCount(Long startTime,Long endTime);

    /**
     * 订单款项统计
     * @param
     * @return
     */
    List<OrderReceived> getOrderReceived(Long startTime,Long endTime);

    /**
     * 统计订单数量 按日分组
     * @param
     * @return
     */
    List<OrderCountReceived> getOrderCountReceived(Long startTime,Long endTime);
}
